package com.grj.parkingsystem.service;

import com.grj.parkingsystem.entity.ParkingReservation;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author ganru
* @description 针对表【t_parking_reservation(车位预订表)】的数据库操作Service
* @createDate 2025-05-16 16:51:44
*/
public interface ParkingReservationService extends IService<ParkingReservation> {
    boolean createReservation(String token, Long parkingLotId, Long spaceId,
                              String startTime, String endTime);
    List<ParkingReservation> getUserReservations(String token);
    boolean cancelReservation(String token, Long reservationId);
}
